home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Core Concepts in Art 2
/
Core Concepts in Art (Frames of Reference)(The McGraw-Hill Companies)(2004).iso
/
mac
/
media
/
guess.swf
/
scripts
/
DefineButton2_19
/
BUTTONCONDACTION on(release).as
next >
Wrap
Text File
|
2003-11-28
|
804b
|
27 lines
on(release){
if(_parent.retest != 1)
{
if(retest_mc.xMark_mc._visible == 1)
{
if(_parent["incorrectChapt" + _parent.theChapter] == undefined)
{
_parent["incorrectChapt" + _parent.theChapter] = new Array();
}
_parent["incorrectChapt" + _parent.theChapter].push(_parent["chapt" + _parent.theChapter][0]);
}
_parent["chapt" + _parent.theChapter].splice(0,1);
next_btn._visible = 0;
next_grph._visible = 1;
}
else
{
_parent["chapt" + _parent.theChapter].splice(0,1);
if(_parent["chapt" + _parent.theChapter].length == 0)
{
_parent.guessingArray.splice(0,1);
_parent.theChapter = _parent.guessingArray[0];
}
}
_parent.nextQuestion();
}